﻿@model CoreDemo.Model.Cinema
@{
    ViewData["Title"] = "Add";
    Layout = "~/Views/Shared/_Layout.cshtml";
}


<h3>新增电影院</h3>
<form class="form-horizontal" asp-action="Add" method="post">
    <div class="form-group row">
        <label asp-for="Name" class="col-sm-2 control-label">名称</label>
        <div class="col-sm-10">
            <input type="text" class="form-control" placeholder="名称" asp-for="Name">
        </div>
    </div>
    <div class="form-group row">
        <label asp-for="Location" class="col-sm-2 control-label">地址</label>
        <div class="col-sm-10">
            <input type="text" class="form-control" placeholder="地址" asp-for="Location">
        </div>
    </div>
    <div class="form-group row">
        <label asp-for="Capacity" class="col-sm-2 control-label">容纳能力</label>
        <div class="col-sm-10">
            <input type="text" class="form-control" placeholder="容纳能力" asp-for="Capacity">
        </div>
    </div>
    <div class="form-group row">
        <div class="col-sm-2"></div>
        <div class="col-sm-10">
            <button type="submit" class="btn btn-default">提交</button>
        </div>
    </div>
</form>

